<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>电影评论</title>
    <%- include  common %>
</head>
<body>
    <%-  include('head',{title:'talk',username}) %>
    <div class="container container-fluid">
        <div class="row">
            <div class="col-md-6 col-sm-6 col-lg-6">
                <h2 class="text-danger  text-center">电影信息</h2>
                <div class="thumbnail">
                    <img src="<%- result.images.large.replace(/img7/,'img3') %>" alt="" style="height:420px;width:100%">
                    <div>
                        <h4 class="pull-right"> <%- result.year %>  </h4>
                        <h4 class="text-danger"> <%- result.title %>  </h4>
                        <p class="text-success">评分 : <%- result.rating.average %></p>
                        <p class="text-primary">分类 : <%- result.genres %></p>
                        <p class="text-primary">导演 : <%- result.directors[0].name %></p>
                        <p class="text-danger">主演 : 
                        <%    result.casts.forEach(item=>{  %>
                                <span><%- item.name %></span>
                        <%    })  %>
                        </p>
                        <p style="display:flex;">
                            <%    result.casts.forEach(item=>{  %>
                                <img style="flex:1;height:200px;margin:0 10px" src="<%- item.avatars.small.replace(/img7/,'img3') %>" />
                            <%    })  %>
                        </p>
                    </div>
                    
                </div>
            </div>

        </div>
    </div>
    
    <%- include  foot %>
</body>
</html>